package com.ruoyi.jhc.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.jhc.mapper.JhcQttylMapper;
import com.ruoyi.jhc.domain.JhcQttyl;
import com.ruoyi.jhc.service.IJhcQttylService;

/**
 * 球团铁原料录入Service业务层处理
 * 
 * @author lgx
 * @date 2022-09-29
 */
@Service
public class JhcQttylServiceImpl implements IJhcQttylService 
{
    @Autowired
    private JhcQttylMapper jhcQttylMapper;

    /**
     * 查询球团铁原料录入
     * 
     * @param cDate 球团铁原料录入主键
     * @return 球团铁原料录入
     */
    @Override
    public JhcQttyl selectJhcQttylByCDate(String cDate)
    {
        return jhcQttylMapper.selectJhcQttylByCDate(cDate);
    }

    /**
     * 查询球团铁原料录入列表
     * 
     * @param jhcQttyl 球团铁原料录入
     * @return 球团铁原料录入
     */
    @Override
    public List<JhcQttyl> selectJhcQttylList(JhcQttyl jhcQttyl)
    {
        return jhcQttylMapper.selectJhcQttylList(jhcQttyl);
    }

    /**
     * 新增球团铁原料录入
     * 
     * @param jhcQttyl 球团铁原料录入
     * @return 结果
     */
    @Override
    public int insertJhcQttyl(JhcQttyl jhcQttyl)
    {
        return jhcQttylMapper.insertJhcQttyl(jhcQttyl);
    }

    /**
     * 修改球团铁原料录入
     * 
     * @param jhcQttyl 球团铁原料录入
     * @return 结果
     */
    @Override
    public int updateJhcQttyl(JhcQttyl jhcQttyl)
    {
        return jhcQttylMapper.updateJhcQttyl(jhcQttyl);
    }

    /**
     * 批量删除球团铁原料录入
     * 
     * @param cDates 需要删除的球团铁原料录入主键
     * @return 结果
     */
    @Override
    public int deleteJhcQttylByCDates(String[] cDates)
    {
        return jhcQttylMapper.deleteJhcQttylByCDates(cDates);
    }

    /**
     * 删除球团铁原料录入信息
     * 
     * @param cDate 球团铁原料录入主键
     * @return 结果
     */
    @Override
    public int deleteJhcQttylByCDate(String cDate)
    {
        return jhcQttylMapper.deleteJhcQttylByCDate(cDate);
    }
}
